package com.action;

import java.util.List;

import com.man.OrderCtrl;
import com.std.Order;

public class AdminOrderSelectAction {
	private List<Order> orderList;
	private int			size;

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public List<Order> getOrderList() {
		return orderList;
	}

	public void setOrderList(List<Order> orderList) {
		this.orderList = orderList;
	}
	
	public String execute() {
		OrderCtrl orderCtrl=new OrderCtrl();
		orderList=orderCtrl.getItems(null);
		size=orderList.size();
		return "success";
	}
}
